// 初始化按钮状态

export default function updateButtonStatus() {
    const optionData = this.props.editTable.getAllRows('disputedlist', true);
    const flag = !(optionData && optionData.length);
    this.props.button.setButtonDisabled({
        edit: flag,
        delete: flag,
    });
}
